.search {
  &__form {
    margin-bottom: 2em;

    table {
      width: 100%;
    }

    th {
      width: 200px;
    }

    .button,
    select,
    input[type='text'],
    input[type='number'] {
      width: 100%;
    }

    td {
      padding: 0.4em 0;
      text-align: right;
    }

    .two-columns {
      @extend %flex-wrap;

      > * {
        flex: 1 150px;
      }

      input[type='text'] {
        width: 86%;
      }

      select {
        width: 78%;
      }
    }

    label {
      margin-right: 0.8em;
    }

    input[type='text'],
    input[type='number'],
    select {
      padding: 0.3em 1em;
    }

    select {
      text-transform: capitalize;
    }

    .user_row select {
      text-transform: none;
    }

    div.level {
      display: inline;
    }

    span.help {
      color: $c-secondary;
      text-decoration: underline $c-secondary;
    }

    .error {
      margin-left: 160px;
      color: red;
    }

    .action {
      text-align: center;
    }

    .wait {
      display: none;
    }

    .button {
      display: inline-block;
    }

    &.searching {
      .spinner {
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px;
      }

      .wait {
        display: block;
      }

      .button {
        display: none;
      }
    }

    th.top {
      vertical-align: top;
      padding-top: 1em;
    }

    .toggle-columns {
      @extend %flex-wrap;
      margin: 0.5rem 0;

      > * {
        width: 100%;
        text-align: left;
        display: flex;
        flex-direction: row;
        margin: 0.3rem 0;

        @include breakpoint($mq-x-small) {
          width: 50%;
        }
      }
    }

    .output {
      th,
      td {
        padding-top: 2rem;
        padding-bottom: 1rem;
      }

      input {
        color: $c-font-dim;
      }
    }

    .cmn-toggle + label + label {
      cursor: pointer;
    }
  }

  &__status {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    background: $c-bg-zebra;
    border: $border;
    border-width: 1px 0;
  }
}
